package main

import (
	"ai-bot/common"
	"ai-bot/deepseek"
	"ai-bot/entity"
	"ai-bot/wechat"
	"github.com/gin-gonic/gin"
)

func main() {
	engine := gin.Default()
	Start(engine)
	engine.Run(":7777")
}

func Start(engine *gin.Engine) {

	group := engine.Group("/blue7")

	group.POST("/receive", common.Receive)

	// 开启协程 处理消息
	//go wechat.HandleMsg(entity.Blue7Bot1, kimi.SendToKiMi)
	// deepseek 大模型
	go wechat.HandleMsg(entity.Blue7Bot1, deepseek.SendToDeepSeek)
}
